#! /bin/sh

# setenv.sh
# sets the environment for building

export BCPSDK_HOME=sdk
export CORDYS_INSTALL_DIR=platform

source $BCPSDK_HOME/setenv.sh

ANT_CP=$ANT_CP:$BCPSDK_HOME/common/junit/junit-4.8.2.jar
ANT_CP=$ANT_CP:$BCPSDK_HOME/common/uiunit/UIUnit-latest.jar
ANT_CP=$ANT_CP:$BCPSDK_HOME/common/uiunit/uiunit-ajaxtoolkit.jar
ANT_CP=$ANT_CP:$BCPSDK_HOME/common/uiunit/webrenderer-latest.jar
ANT_CP=$ANT_CP:$BCPSDK_HOME/common/uiunit/webrenderer-win-latest.jar
ANT_CP=$ANT_CP:$BCPSDK_HOME/common/uiunit/corecomponents-win.jar

# =======================================================================
# Setting environment for isv task
# =======================================================================
ANT_CP=$JAVA_HOME/lib/tools.jar:$ANT_CP
ANT_CP=$ANT_CP:platform/ext/ldap.jar
ANT_CP=$ANT_CP:platform/ext/jdbcappender.jar
ANT_CP=$ANT_CP:platform/ext/log4j-1.2.15.jar
ANT_CP=$ANT_CP:platform/components/eibxml/eibxml.jar
ANT_CP=$ANT_CP:platform/components/basicutil/basicutil.jar
ANT_CP=$ANT_CP:platform/components/ccutil/ccutil.jar
ANT_CP=$ANT_CP:platform/components/esbclient/esbclient.jar
ANT_CP=$ANT_CP:platform/components/esbserver/esbserver.jar
ANT_CP=$ANT_CP:platform/components/isvpconn/isvpconn.jar
ANT_CP=$ANT_CP:platform/components/managementlib/managementlib.jar

LD_LIBRARY_PATH=$BUILD_HOME/platform/lib:$LD_LIBRARY_PATH

# =======================================================================

export LD_LIBRARY_PATH ANT_CP